%module xftts

%{
#include "xtts.h"
%}

extern int tts_init();
extern int tts_init2(void *params);
extern int tts_init3(void *params,int voice);
extern void tts_close();
extern int tts_puts(const char *src_text);

%include typemaps.i

extern void *tts_get_pcm(unsigned int *OUTPUT, int *OUTPUT);

